<legend>领取积分卡</legend>
<div class="container">
    <table class="table table-hover">
        <thead>
            <tr>
                <th>
                    <input type="checkbox"  id="selectAll"> 
                </th>
                <th><?php echo '积分卡名称'; ?></th>
                <th><?php echo '操作'; ?></th>
            </tr> 
        </thead>
        <tbody>
            <?php
            foreach ($applyView as $id => $cardType) {
                $name = $cardType->getItem('name')->getValue();
                ?>
                <tr>
                    <td><?php echo $name; ?></td>
                    <td>
                        <?php
                        $control->getAjaxLink('领取', array(
                            'cooker' => 'BAMemberCard@showApplyMemberPointCard',
                            'cardTypeId' => $id
                        ))
                        ?>
                    </td>
                </tr>
            <?php } ?>
        </tbody>
</div>